#
# MAINTAINER  wangyun <640138017@qq.com>       
# DOCKER-VERSION    1.7.1
#
# Dockerizing maven: Dockerfile for building maven images
#
FROM       wy/tomcat-maven:7.1
MAINTAINER wangyun <640138017@qq.com>

ADD .  /HelloDocker

RUN cd /HelloDocker && \
    mvn clean install -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

RUN cp /HelloDocker/target/HelloDocker.war /tomcat/webapps